package com.lovo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients //把feign引入
//@EnableScheduling  //定时调度
@EnableCircuitBreaker //熔断
public class TicketMain {
    public static void main(String[] args) {
        SpringApplication.run(TicketMain.class,args);
    }
}
